update the checkbox to display on one line

qedi %!s(int64=11) %!d(string=hace) años
padre
commit
163f09ee7a
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      app/views/agents/_form.html.erb

+ 5 - 1
app/views/agents/_form.html.erb

@@ -62,7 +62,11 @@
62 62
                                       @agent.source_ids),
63 63
                    {}, { :multiple => true, :size => 5, :class => 'span4 select2' }) %>
64 64
       <span class='cannot-receive-events text-info'>This type of Agent cannot receive events.</span>
65
-      <span class="propagate-immediately"><br><%= f.check_box :propagate_immediately %> <%= f.label "Propagate immediately", :class => 'control-label' %></span>
65
+      <span class="propagate-immediately"><br>
66
+         <%= f.label :propagate_immediately, :class => 'control-label' do %>Propagate immediately
67
+            <%= f.check_box :propagate_immediately %> 
68
+         <% end %>
69
+      </span>
66 70
     </div>
67 71
   </div>
68 72